package com.miku.project.model.vo;

import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
import com.github.binarywang.wxpay.bean.result.WxPayOrderQueryV3Result;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class PaymentInfoVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "应用ID")
    private String appid;

    @ApiModelProperty(value = "商户号")
    private String mchid;

    @ApiModelProperty(value = "订单号")
    private String outTradeNo;

    @ApiModelProperty(value = "微信支付订单号")
    private String transactionId;

    /**
     * 贸易类型
     */
    @ApiModelProperty(value = "贸易类型")
    private String tradeType;

    @ApiModelProperty(value = "交易状态")
    private String tradeState;

    @ApiModelProperty(value = "交易状态描述")
    private String tradeStateDesc;

    @ApiModelProperty(value = "付款银行")
    private String bankType;

    @ApiModelProperty(value = "订单金额")
    private String attach;

    @ApiModelProperty(value = "成功时间")
    private String successTime;

    @ApiModelProperty(value = "支付者")
    private WxPayOrderQueryV3Result.Payer payer;
    @SerializedName(value = "amount")
    private WxPayOrderQueryV3Result.Amount amount;
    @SerializedName(value = "scene_info")
    private WxPayOrderQueryV3Result.SceneInfo sceneInfo;
    @SerializedName(value = "promotion_detail")
    private List<WxPayOrderQueryV3Result.PromotionDetail> promotionDetails;
}
